package com.cn.entity;

public class TaoCan {
    private int id;
    private String name;
    private int  time;
    private int liuliang;
    private int message;
    private double money;
    private String desc;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getTime() {
        return time;
    }

    public void setTime(int time) {
        this.time = time;
    }

    public int getLiuliang() {
        return liuliang;
    }

    public void setLiuliang(int liuliang) {
        this.liuliang = liuliang;
    }

    public int getMessage() {
        return message;
    }

    public void setMessage(int message) {
        this.message = message;
    }

    public double getMoney() {
        return money;
    }

    public void setMoney(double money) {
        this.money = money;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public TaoCan(int id, String name, int time, int liuliang, int message, double money, String desc) {
        this.id = id;
        this.name = name;
        this.time = time;
        this.liuliang = liuliang;
        this.message = message;
        this.money = money;
        this.desc = desc;
    }

    public TaoCan() {
    }

    @Override
    public String toString() {
        return "TaoCan{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", time=" + time +
                ", liuliang=" + liuliang +
                ", message=" + message +
                ", money=" + money +
                ", desc='" + desc + '\'' +
                '}';
    }
}
